<!Doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
li{
width:163px;
height:33.3%;
float:left;
border:1px solid black;
}
ul{
list-style:none;
width:500px;
height:300px;
align:center;
}
.biaoge{
width:500x;
}
.biaoge li{
float:left;
width:170px;
}
</style>
<script>
function checkAll(c){
var status=c.checked;
var items=document.getElementByName("item");
for(var i=0;i<items.length;i++){
items[i].checked=status;
}
}
function delAll(){
var list=document.getElementById("lister");
var items=document.getElementByName("item");
for(var j=0;j<items.length;j++){
if(items[j].checked){
var ul=items[j].;
list.
}
}
<!---->
}
</script>
<head>
<body>

<ul id="lister">
<li>选中</li>
<li>编号</li>
<li>姓名</li>

<li><input type="checkbox"/></li>
<li>1</li>
<li>李白</li>


</ul>


<hr/>
<ul class="biaoge">



<li>编号</li>
<li><input type="text" name="id" id="id"/></li>


<li>姓名</li>
<li><input type="text" name="name" id="name"/></li>


<li><input type="reset" value="重置"/></li>
<li><input type="button" value="添加" onclick=" addlist()"/></li>
<li><input type="button" value="删除" onclick="delAll()"/></li>

</ul>

</body>
</html>